
<!-- <div id="sidebar">
    <?php
    $icon = array('icon-strikethrough', 'icon-user', 'icon-group', 'icon-credit-card', 'icon-file', 'icon-picture', 'icon-paste', 'icon-envelope', 'icon-comment', 'icon-film');
  ?>
  <ul class="left_menu">
      <li class="submenu "  > <a href="#"><i class="icon icon-cogs"></i> <span>系统设置</span> </a>
          <ul>
              <li <?php if($_SESSION['v_menu'] == "role"):?>class="bg_lg"<?php endif;?> ><a href="<?= BASEURL."luckydog/role/rolelist"?>">角色管理</a></li>
              <li <?php if($_SESSION['v_menu'] == "account"):?>class="bg_lg"<?php endif;?> ><a href="<?= BASEURL."luckydog/account/accountList"?>">账号管理</a></li>
          </ul>
      </li>

      <li  <?php if($_SESSION['v_menu'] == "user"):?>class="active"<?php endif;?>  >
         <a href="<?= BASEURL."luckydog/user"?>">
            <i class="icon icon icon-user"></i> 
            <span>用户管理</span> 
        </a>
      </li>
  </ul>
</div>  -->





<div class="main-container container-fluid">
        <!-- Page Container -->
        <div class="page-container">
            <!-- Page Sidebar -->
            <div class="page-sidebar" id="sidebar">
                <!-- Page Sidebar Header-->
                <div class="sidebar-header-wrapper">
                    <input type="text" class="searchinput" />
                    <i class="searchicon fa fa-search"></i>
                    <div class="searchhelper">Search Reports, Charts, Emails or Notifications</div>
                </div>
                <!-- /Page Sidebar Header -->
                <!-- Sidebar Menu -->
                <ul class="nav sidebar-menu">
                    <!--Dashboard-->
                    <li class="active">
                        <a href="index.html">
                            <i class="menu-icon glyphicon glyphicon-home"></i>
                            <span class="menu-text"> Dashboard </span>
                        </a>
                    </li>
                    <!--Tables-->
                    <li class="<?php if(in_array($_SESSION['v_menu'],array("role","account"))):?>open<?php endif;?>">
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-table"></i>
                            <span class="menu-text"> 系统设置 </span>

                            <i class="menu-expand"></i>
                        </a>

                        <ul class="submenu">
                            <li <?php if($_SESSION['v_menu'] == "role"):?>style="display: block;"<?php endif;?>>
                                <a href = '<?= BASEURL."luckydog/role/rolelist"?>'>
                                    <span class="menu-text" >角色管理</span>
                                </a>
                            </li>
                            <li <?php if($_SESSION['v_menu'] == "account"):?>style="display: block;"<?php endif;?>>
                                <a href = '<?= BASEURL."luckydog/account/accountList"?>'>
                                    <span class="menu-text">账号管理</span>
                                </a>
                            </li>
                        </ul>
                    </li>

                    <li class="<?php if(in_array($_SESSION['v_menu'],array("textures","video","newslist"))):?>open<?php endif;?>">
                        <a href="<?= BASEURL."luckydog/news/index"?>" class="menu-dropdown">
                            <i class="menu-icon glyphicon glyphicon-tasks"></i>
                            <span class="menu-text"> 新闻管理 </span>
                            <i class="menu-expand"></i>
                        </a>

                    </li>

                    <li class="<?php if(in_array($_SESSION['v_menu'],array("ad"))):?>open<?php endif;?>">
                        <a href="<?= BASEURL."luckydog/ad/index"?>" class="menu-dropdown">
                            <i class="menu-icon fa  fa-picture-o"></i>
                            <span class="menu-text"> 咨询轮播图 </span>
                            <i class="menu-expand"></i>
                        </a>

                    </li>

                    <li class="<?php if(in_array($_SESSION['v_menu'],array("item","category","company"))):?>open<?php endif;?>">
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-list-ul"></i>
                            <span class="menu-text"> 器材相关 </span>

                            <i class="menu-expand"></i>
                        </a>

                        <ul class="submenu">
                            <li <?php if($_SESSION['v_menu'] == "category"):?>style="display: block;"<?php endif;?>>
                                <a href = '<?= BASEURL."luckydog/category"?>'>
                                    <span class="menu-text" >器材分类</span>
                                </a>
                            </li>
                            <li <?php if($_SESSION['v_menu'] == "company"):?>style="display: block;"<?php endif;?>>
                                <a href = '<?= BASEURL."luckydog/company/index"?>'>
                                    <span class="menu-text">企业列表</span>
                                </a>
                            </li>
                            <li <?php if($_SESSION['v_menu'] == "item"):?>style="display: block;"<?php endif;?>>
                                <a href = '<?= BASEURL."luckydog/item/index"?>'>
                                    <span class="menu-text">器材管理</span>
                                </a>
                            </li>
                            
                        </ul>
                    </li>
                </ul>
                <!-- /Sidebar Menu -->
            </div>